import axios from '../utils/http'

// 登录
export const login = (data) =>
  axios({
    url: '/v1/manager/login',
    method: 'post',
    data
  })


// 退出登录
export const loginOut = (data) =>
  axios({
    url: '/v1/manager/loginout',
    method: 'post',
    data
  })
